package syncon;

import java.io.IOException;

import com.google.gdata.util.ServiceException;

import syncon.Syncon.*;

public class SynconSession {

	public SynconSession(String userName, String userPassword,
			SynconService Service) throws IOException, ServiceException {
		new SynconAuthentication(userName, userPassword);
		switch (Service) {
		case FBPHOTO:
			new FBPhoto();
			break;
		default:
			SynconError.FATAL_ERROR.errorExit();
		}
	}

}
